import React, { useEffect } from 'react'
import ArticleLeft from '../../component/ArticleLeft'
import ArticleRight from '../../component/ArticleRight'
import axios from '../../myaxios'
type Props = {}

const Index = (props: Props) => {
  useEffect(()=>{
      axios.get('/wipi/api/article/recommend').then(res =>{
          console.log(res)
      })
  },[])
  return (
    <div className='articles'>
      <ArticleLeft></ArticleLeft>
      <ArticleRight></ArticleRight>
    </div>
  )
}

export default Index